package com.bjx.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bjx.system.domain.query.DictTypeQuery;
import com.bjx.system.domain.vo.DictTypeVO;

/**
 * @desc: 字典类型业务接口
 * @author: liushuai
 * @date: 2022/8/15
 */
public interface IDictTypeService {


    /**
     * 分页查询字典类型列表
     * @param dictTypeQuery
     * @return: com.baomidou.mybatisplus.core.metadata.IPage<com.bjx.system.domain.vo.DictTypeVO>
     * @Author: liushuai
     * @Date: 2022/8/15
     */
    IPage<DictTypeVO> listDictTypePage(DictTypeQuery dictTypeQuery);

    /**
     * 新增字典类型
     * @param dictTypeVO
     * @Author: liushuai
     * @Date: 2022/8/15
     */
    void insertDictType(DictTypeVO dictTypeVO);
    /**
     * 修改字典类型
     * @param dictTypeVO
     * @Author: liushuai
     * @Date: 2022/8/15
     */
    void updateDictType(DictTypeVO dictTypeVO);
    /**
     * 根据字典类型id删除字典类型
     * @param dictTypeId
     * @return: com.bjx.common.core.domain.R
     * @Author: liushuai
     * @Date: 2022/9/6 21:04
     */
    void deleteDictTypeByDictTypeId(Long dictTypeId);
    /**
     * 根据字典类型id查询字典类型
     * @param dictTypeId
     * @return: com.bjx.common.core.domain.R<com.bjx.system.domain.vo.DictTypeVO>
     * @Author: liushuai
     * @Date: 2022/9/6 22:06
     */
    DictTypeVO selectDictTypeByDictTypeId(Long dictTypeId);



}
